import request from '@/utils/request'
// api地址
const api = {
	add:'api/user_car/add',
	getPageList: 'api/user_car/getPageList',
	quote:'api/user_car/quote',
	inquiryDetail:'api/user_car/inquiryDetail',
	getMyInquiry:'api/user/getMyInquiry'
}

// 发布询价
export function add(data) {
	return request.post(api.add, data,{load:false})
}
// 询价列表
export function getPageList(data) {
	return request.get(api.getPageList, data,{load:false})
}
// 报价
export function quote(data) {
	return request.post(api.quote, data,{load:false})
}
// 详情
export function inquiryDetail(data) {
	return request.get(api.inquiryDetail, data,{load:false})
}
// 我的询价
export function getMyInquiry(data) {
	return request.get(api.getMyInquiry, data,{load:false})
}

